package com.fanqwz.kotlinmvvm.data.persist.db

import android.arch.persistence.room.Database
import android.arch.persistence.room.RoomDatabase
import com.fanqwz.kotlinmvvm.data.persist.dao.UserDao
import com.fanqwz.kotlinmvvm.data.persist.po.UserPO

/**
 * Created by fanqwz on 2018/3/9.
 */

@Database(entities = [UserPO::class], version = 1)
abstract class UserDatabase : RoomDatabase() {
    abstract fun userDao(): UserDao
}